Optimal. Leaf size=86 \[ -\frac {a^3}{2 x^2}+3 a^2 b \log (x)+\frac {1}{2} c x^6 \left (a c+b^2\right )+\frac {1}{4} b x^4 \left (6 a c+b^2\right )+\frac {3}{2} a x^2 \left (a c+b^2\right )+\frac {3}{8} b c^2 x^8+\frac {c^3 x^{10}}{10} \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {1114, 698} \begin {gather*} 3 a^2 b \log (x)-\frac {a^3}{2 x^2}+\frac {1}{2} c x^6 \left (a c+b^2\right )+\frac {1}{4} b x^4 \left (6 a c+b^2\right )+\frac {3}{2} a x^2 \left (a c+b^2\right )+\frac {3}{8} b c^2 x^8+\frac {c^3 x^{10}}{10} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 698
Rule 1114
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2+c x^4\right )^3}{x^3} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {\left (a+b x+c x^2\right )^3}{x^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (3 a \left (b^2+a c\right )+\frac {a^3}{x^2}+\frac {3 a^2 b}{x}+b \left (b^2+6 a c\right ) x+3 c \left (b^2+a c\right ) x^2+3 b c^2 x^3+c^3 x^4\right ) \, dx,x,x^2\right )\\ &=-\frac {a^3}{2 x^2}+\frac {3}{2} a \left (b^2+a c\right ) x^2+\frac {1}{4} b \left (b^2+6 a c\right ) x^4+\frac {1}{2} c \left (b^2+a c\right ) x^6+\frac {3}{8} b c^2 x^8+\frac {c^3 x^{10}}{10}+3 a^2 b \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 78, normalized size = 0.91 \begin {gather*} \frac {1}{40} \left (-\frac {20 a^3}{x^2}+120 a^2 b \log (x)+20 c x^6 \left (a c+b^2\right )+10 b x^4 \left (6 a c+b^2\right )+60 a x^2 \left (a c+b^2\right )+15 b c^2 x^8+4 c^3 x^{10}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b x^2+c x^4\right )^3}{x^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 85, normalized size = 0.99 \begin {gather*} \frac {4 \, c^{3} x^{12} + 15 \, b c^{2} x^{10} + 20 \, {\left (b^{2} c + a c^{2}\right )} x^{8} + 10 \, {\left (b^{3} + 6 \, a b c\right )} x^{6} + 120 \, a^{2} b x^{2} \log \relax (x) + 60 \, {\left (a b^{2} + a^{2} c\right )} x^{4} - 20 \, a^{3}}{40 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 98, normalized size = 1.14 \begin {gather*} \frac {1}{10} \, c^{3} x^{10} + \frac {3}{8} \, b c^{2} x^{8} + \frac {1}{2} \, b^{2} c x^{6} + \frac {1}{2} \, a c^{2} x^{6} + \frac {1}{4} \, b^{3} x^{4} + \frac {3}{2} \, a b c x^{4} + \frac {3}{2} \, a b^{2} x^{2} + \frac {3}{2} \, a^{2} c x^{2} + \frac {3}{2} \, a^{2} b \log \left (x^{2}\right ) - \frac {3 \, a^{2} b x^{2} + a^{3}}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 87, normalized size = 1.01 \begin {gather*} \frac {c^{3} x^{10}}{10}+\frac {3 b \,c^{2} x^{8}}{8}+\frac {a \,c^{2} x^{6}}{2}+\frac {b^{2} c \,x^{6}}{2}+\frac {3 a b c \,x^{4}}{2}+\frac {b^{3} x^{4}}{4}+\frac {3 a^{2} c \,x^{2}}{2}+\frac {3 a \,b^{2} x^{2}}{2}+3 a^{2} b \ln \relax (x )-\frac {a^{3}}{2 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.37, size = 82, normalized size = 0.95 \begin {gather*} \frac {1}{10} \, c^{3} x^{10} + \frac {3}{8} \, b c^{2} x^{8} + \frac {1}{2} \, {\left (b^{2} c + a c^{2}\right )} x^{6} + \frac {1}{4} \, {\left (b^{3} + 6 \, a b c\right )} x^{4} + \frac {3}{2} \, a^{2} b \log \left (x^{2}\right ) + \frac {3}{2} \, {\left (a b^{2} + a^{2} c\right )} x^{2} - \frac {a^{3}}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 75, normalized size = 0.87 \begin {gather*} x^4\,\left (\frac {b^3}{4}+\frac {3\,a\,c\,b}{2}\right )-\frac {a^3}{2\,x^2}+\frac {c^3\,x^{10}}{10}+\frac {3\,b\,c^2\,x^8}{8}+3\,a^2\,b\,\ln \relax (x)+\frac {3\,a\,x^2\,\left (b^2+a\,c\right )}{2}+\frac {c\,x^6\,\left (b^2+a\,c\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 92, normalized size = 1.07 \begin {gather*} - \frac {a^{3}}{2 x^{2}} + 3 a^{2} b \log {\relax (x )} + \frac {3 b c^{2} x^{8}}{8} + \frac {c^{3} x^{10}}{10} + x^{6} \left (\frac {a c^{2}}{2} + \frac {b^{2} c}{2}\right ) + x^{4} \left (\frac {3 a b c}{2} + \frac {b^{3}}{4}\right ) + x^{2} \left (\frac {3 a^{2} c}{2} + \frac {3 a b^{2}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________